<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
                      "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
  xmlns:ui="http://java.sun.com/jsf/facelets"
  xmlns:h="http://java.sun.com/jsf/html"
  xmlns:f="http://java.sun.com/jsf/core"
  xmlns:c="http://java.sun.com/jstl/core"
  xmlns:security="http://www.springframework.org/security/tags"
  xmlns:rich="http://richfaces.org/rich"
  xmlns:sf="http://www.springframework.org/tags/faces">

<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>LDAP Sample</title>
<sf:includeStyles />

<link href="${request.contextPath}/stylesheet/layout.css" rel="stylesheet"
  type="text/css" />
<link href="${request.contextPath}/stylesheet/theme.css" rel="stylesheet"
  type="text/css" />
<f:loadBundle basename="localization/messages_resources" var="msg" />
<!--[if lt IE 7]>
<style media="screen" type="text/css">
#container {height:100%;}
</style>
<![endif]-->
</head>
<f:view contentType="text/html">
  <body class="tundra">
  <c:set var="pathImageEnv" value="${applicationScope['IMG_ENV_PATH']}" />
  <img src="${request.contextPath}/${pathImageEnv}" style="position: absolute; top:0px; left:0px; z-index:100"/>
  <div id="container">
  <div id="header"><h:form id="logoutForm" prependId="false">
    <a href="${request.contextPath}/secure/welcome.faces"><img id="logoBDF"
      src="${request.contextPath}/img/logo_BDF.jpg" /></a>
    </h:form></div>

  <div id="content">
  <div id="innerContent">

    <h:messages globalOnly="true" styleClass="message" />

    <rich:panel style="width:300px">
      <f:facet name="header">#{msg.error_title_msg}</f:facet>
        <h:graphicImage value="/img/bug.jpg" />
        <p><h:outputText value="${msg.error_msg}"/> : #{sessionScope.lastExceptionReference}</p>
    </rich:panel>
    </div>
  </div>

  <div id="footer"></div>
  </div>
  </body>
</f:view>
</html>
